home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmSetProtocolHooks.z
/
XmSetProtocolHooks
Wrap
Text File
|
1998-10-20
|
7KB
|
133 lines
XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss - A VendorShell function that allows pre
and post actions to be executed when a protocol message is
received from MWM
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////PPPPrrrroooottttooooccccoooollllssss....hhhh>>>>
vvvvooooiiiidddd XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss ((((_s_h_e_l_l, _p_r_o_p_e_r_t_y, _p_r_o_t_o_c_o_l, _p_r_e_h_o_o_k, _p_r_e__c_l_o_s_u_r_e,
_p_o_s_t_h_o_o_k, _p_o_s_t__c_l_o_s_u_r_e))))
WWWWiiiiddddggggeeeetttt _s_h_e_l_l;;;;
AAAAttttoooommmm _p_r_o_p_e_r_t_y;;;;
AAAAttttoooommmm _p_r_o_t_o_c_o_l;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc _p_r_e_h_o_o_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _p_r_e__c_l_o_s_u_r_e;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc _p_o_s_t_h_o_o_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _p_o_s_t__c_l_o_s_u_r_e;;;;
vvvvooooiiiidddd XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss ((((_s_h_e_l_l, _p_r_o_t_o_c_o_l, _p_r_e_h_o_o_k, _p_r_e__c_l_o_s_u_r_e,
_p_o_s_t_h_o_o_k, _p_o_s_t__c_l_o_s_u_r_e))))
WWWWiiiiddddggggeeeetttt _s_h_e_l_l;;;;
AAAAttttoooommmm _p_r_o_t_o_c_o_l;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc _p_r_e_h_o_o_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _p_r_e__c_l_o_s_u_r_e;;;;
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc _p_o_s_t_h_o_o_k;;;;
XXXXttttPPPPooooiiiinnnntttteeeerrrr _p_o_s_t__c_l_o_s_u_r_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss is used by shells that want to have pre
and post actions executed when a protocol message is
received from MWM. Since there is no guaranteed ordering in
execution of event handlers or callback lists, this allows
the shell to control the flow while leaving the protocol
manager structures opaque.
XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss is a convenience interface. It calls
XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss with the property value set to the atom
returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
_s_h_e_l_l Specifies the widget with which the protocol
property is associated
_p_r_o_p_e_r_t_y Specifies the protocol property
_p_r_o_t_o_c_o_l Specifies the protocol atom (or an int cast to
Atom)
Page 1 (printed 4/30/98)
XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
_p_r_e_h_o_o_k Specifies the procedure to call before calling
entries on the client callback-list
_p_r_e__c_l_o_s_u_r_e
Specifies the client data to be passed to the
prehook when it is invoked
_p_o_s_t_h_o_o_k Specifies the procedure to call after calling
entries on the client callback-list
_p_o_s_t__c_l_o_s_u_r_e
Specifies the client data to be passed to the
posthook when it is invoked
For a complete definition of VendorShell and its associated
resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))), XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm((((3333XXXX)))), and
XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))).
Page 2 (printed 4/30/98)